package com.dt.app.modules.sys.entities;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 鸿源塔基
 * @since 2023-02-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_parameter")
@ApiModel(value="SysParameter对象", description="")
public class SysParameter implements Serializable {

    private static final long serialVersionUID=457568672341L;

    @ApiModelProperty(value = "id")
    @TableId(value = "sys_parameter_id", type = IdType.AUTO)
    private Integer sysParameterId;

    @ApiModelProperty(value = "企业id")
    @TableField("sys_company_id")
    private Integer sysCompanyId;

    @ApiModelProperty(value = "名称")
    @TableField("parameter_name")
    private String parameterName;

    @ApiModelProperty(value = "内容 男=1,女=2")
    @TableField("data_value")
    private String dataValue;

    @ApiModelProperty(value = "类型1单选框  2复选框 3下拉框 4值")
    @TableField("data_type")
    private Integer dataType;

    @ApiModelProperty(value = "备注")
    @TableField("msg")
    private String msg;

    @ApiModelProperty(value = "编码")
    @TableField("numb")
    private String numb;

    @ApiModelProperty(value = "排序")
    @TableField("seq")
    private Integer seq;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
